import React from 'react';
import MyLayout from "../component/mylayout/mylayout";
import LoginPage from '../page/login'
import WithDva from '../util/store';

class Login extends React.Component {
    static async getInitialProps({query, req, isServer}) {
        return {};
    }

    render() {
        return <MyLayout>
            <LoginPage/>
        </MyLayout>
    }
}

export default WithDva((state) => {
    store:state
})(Login)